package com.atguigu.tingshu.album.mapper;

import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.query.album.TrackInfoQuery;
import com.atguigu.tingshu.vo.album.AlbumTrackListVo;
import com.atguigu.tingshu.vo.album.TrackListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TrackInfoMapper extends BaseMapper<TrackInfo> {



    IPage<TrackListVo> findUserTrackPage(IPage<TrackListVo> page, @Param(value = "vo") TrackInfoQuery trackInfoQuery);
    IPage<AlbumTrackListVo> findAlbumTrackPage(IPage<AlbumTrackListVo> page, @Param(value="albumId")Long albumId);
}
